package com.bocloud.cmp.driver.providers.intf;

import com.bocloud.cmp.model.SnapshotModel;
import com.bocloud.common.model.BsmResult;

/**
 * 快照操作服务接口
 * 
 * @author weiwei
 *
 */
public interface SnapshotProvider {

	/**
	 * 快照列表
	 * 
	 * @param vendor
	 * @param region
	 * @return
	 */
	public BsmResult list(String vendor, String region);

	/**
	 * 快照详细
	 * 
	 * @param vendor
	 * @param region
	 * @param model
	 * @return
	 */
	public BsmResult detail(String vendor, String region, SnapshotModel model);

	/**
	 * 删除快照
	 * 
	 * @param vendor
	 * @param region
	 * @param model
	 * @return
	 */
	public BsmResult remove(String vendor, String region, SnapshotModel model);

	/**
	 * 恢复快照
	 * 
	 * @param vendor
	 * @param region
	 * @param model
	 * @return
	 */
	public BsmResult revert(String vendor, String region, SnapshotModel model);
}
